supybot doesn't work banlist

Bug #902197 reported by AndreX
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
supybot (Ubuntu)
New
Undecided
Unassigned

Bug Description

Supybot is 0.83.4.1. From a repository Ubuntu 11.10
supybot:
  Installed: 0.83.4.1.ds-2
After addition of the user in ban list a command ban add nick. And kicked nick from the channel, it comes back also a boat it doesn't throw out, as current the user has returned to broad gulls gives out here it:

Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/supybot/log.py", line 351, in m
return f (self, *args, ** kwargs)
File "/usr/lib/pymodules/python2.7/supybot/irclib.py", line 132, in __ call __
method (irc, msg)
File "/usr/lib/pymodules/python2.7/supybot/plugins/AutoMode/plugin.py", line 86, in doJoin
banmask =conf.supybot.protocols.irc.banmask.makeBanmask (msg.prefix)
NameError: global name ' conf ' is not defined

AndreX (andrex4k)
description: updated
security vulnerability: yes → no
security vulnerability: yes → no
visibility: private → public
visibility: private → public
Revision history for this message
Aminda Suomalainen (mikaela) wrote :

This is how that command works.

```
| help ban add
| (ban add [<channel>] <nick|hostmask> [<expires>]) -- If you have the #channel,op capability, this will effect a
| persistent ban from interacting with the bot on the given <hostmask> (or the current hostmask associated with <nick>.
| Other plugins may enforce this ban by actually banning users with matching hostmasks when they join. <expires> is an
| optional argument specifying when (in "seconds from (1 more message)
| more
| now") the ban should expire; if none is given, the ban will never automatically expire. <channel> is only necessary if
| the message isn't sent in the channel itself.
```

It's same as ignore, unless you load AutoMode plugin and set configuration variable supybot.plugins.automode.ban True.

Revision history for this message
AndreX (andrex4k) wrote :

I know how it works

Revision history for this message
Aminda Suomalainen (mikaela) wrote : Re: [Bug 902197] Re: supybot doesn't work banlist

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

09.05.2012 15:42, AndreX kirjoitti:
> I know how it works
>

Oh, sorry. I didn't notice that you have AutoMode loaded.

This issue has been fixed with [Limnoria], which is Supybot fork.

[Limnoria]:https://github.com/ProgVal/Limnoria

The Supybot upstream is dead and Supybot contains at least two bugs,
which can make the bot crash with the computer, which it's running on,
so you might want to upgrade or check your config.
https://bugs.launchpad.net/ubuntu/+source/supybot/+bug/996947
https://bugs.launchpad.net/ubuntu/+source/supybot/+bug/996950

- --
[Mika Suomalainen](https://mkaysi.github.com/) ||
[gpg --keyserver pool.sks-keyservers.net --recv-keys
4DB53CFE82A46728](http://mkaysi.github.com/PGP/key.txt) ||
[Why do I sign my
emails?](http://mkaysi.github.com/PGP/WhyDoISignEmails.html) ||
[Please don't send
HTML.](http://mkaysi.github.com/articles/complaining/HTML.html) ||
[Please don't
toppost](http://mkaysi.github.com/articles/complaining/topposting.html) ||

[This signature](https://gist.github.com/2643070) ||
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJPqmtRAAoJEE21PP6CpGco0Q8P/3M4cCivKdr0U+5HquVQ6v91
CIfhvR4DTEkalm89w1jXgyOAcOnQZClTAKyv+b6IDQNN26HxVMDyXCiVZl5GzRiB
TXKDJY59MljP2cD6UJG8V3ocrCzeKGGg51R9vjQ52dtHCPz2H8JBedyePtbAmMiR
W6kKrhBZP9Xdq5MTSOlTNWM9S8/akx9nrNOQ6YWtXxpEKmr64EQN6pKKs1plnf2T
+36rQFp4Jgx9/A+upMz2pEgf066WsZs0J2tau917mUWoIOCvQVdH5orj7zrOQH7O
v6t0j30UyBWy+Xzll/8fi1B3X7YFriHPmEQDJr68ElMCrLOjsLbrzIyqVsf7us/D
539owskKxRCUMEafpbqGy59acfEJCsFb8FHzyCEysFHYa2fVibmI3jh93Y/LgFHj
bGQGofNwR+2uxy458C6N9vUlrHZZZED0kQ2026zJBt7gsfEhZP4P0NvM0R2GwPnw
UK3PMJfmAIqUh5UIPAkIarIDZRi6ata93ojo+J8123MXrMkts/eF7/1JFg75yvV3
izLv+uVoJGBUPDJwQq0d7fGZaKeHWxZIcltHOlI9RESL98U1ygGbPaQ8bvpC9nFa
XYw6/jA4/d3Vt1hecIQYYeo0YqwaFPVknabfgrXOxXK2B1Vfh9sbexNGFJEiziFX
0q23WI+klR+rJVNNChuj
=GieV
-----END PGP SIGNATURE-----

Revision history for this message
AndreX (andrex4k) wrote :

good, thanks

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.