offby1 / rudybot

Just what the world needs: another IRC bot
55 stars 12 forks source link

quotes db contains output from "/names" #24

Closed offby1 closed 11 years ago

offby1 commented 11 years ago
    <ijp> rudybot: now, how can we best confuse wilfredh?                   [21:43] 
    <rudybot> ijp: johnsu01 maxm- jehan cpt_nemo dixie anildigital_work TTilus                                                     
              fimblo clop2 ivenkys cods Rapp framling quotemstr baron- Ober                                                        
              monkeyiq Odin- wolf_ ybit hroptatyr muhoo quasisane Boney                                                            
              bersace_olfeo aperturefever atrus CrazyEddy newcup Kiba` setheus                                                     
              offbyone sbryant ob ski_ kini stepnem bpalmer sm oddmunds srid Silex                                                 
              yaotti_aw andrzejsliwa wilfredh Urchin NaCl prip RushPL fhd hober                                                    
              edlinde bigjust Aestas lokydor fasta nod
    * ijp facepalms

... or, more likely, the message that the bot sees when he first enters a channel. Anyway it's just clutter.

offby1 commented 11 years ago

I cannot think of a way that output from "/names" can get into the db -- rudybot doesn't ever issue that command.

It's true that, when he first joins a channel, there's a message from the server with that sort of data in it:

    2013-09-01T23:24:10Z <= ((prefix #"hitchcock.freenode.net") (command #"353") (params (param #"rudybot") (param #"=") (param #"#scheme") (param #"rudybot defanor_ davexunit duggiefresh arbn1 RageOfThou fridim_ pnkfelix LAMMJohn1on pothos pjb aoh antoszka przl ericmathison sharkbird MichaelRaskin taylanub Necrosporus leppie tiksa zbigniew sstrickl shardz zett_zelett ijp hashcat bjz_ lusory Kabaka_ Oejet ASau vraid _5kg sttau jrapdx karswell Nisstyre preflex mlamari dsmith defan

-- but he ignores those sorts of "353" lines.

The particular data you saw is actually a message from a (probably confused) IRC user:

    :) 19:46:02 [erich@ip-10-171-85-229 rudybot] (master *)$ fgrep 'johnsu01 maxm- jehan cpt' /mnt/rudybot/big-log 
    2011-10-26T13:05:32Z <= ((prefix #"vikash!~vikash@1.186.3.173") (command #"PRIVMSG") (params (param #"#emacs") (param #"johnsu01 maxm- jehan cpt_nemo dixie anildigital_work TTilus fimblo clop2 ivenkys cods Rapp framling quotemstr baron- Ober monkeyiq Odin- wolf_ ybit hroptatyr muhoo quasisane Boney bersace_olfeo aperturefever atrus CrazyEddy newcup Kiba` setheus offbyone sbryant ob ski_ kini stepnem bpalmer sm oddmunds srid Silex yaotti_aw andrzejsliwa wilfredh Urchin NaCl prip RushPL fhd hober edlinde bigjust Aestas lokydor fasta nod")))

... so I'm gonna close this because the code is likely fine; the problem (if any) is just the data in the db.