]> jfr.im git - irc/rizon/acid.git/commitdiff
mode -> setMode
authorAdam <redacted>
Mon, 27 Oct 2014 21:25:57 +0000 (17:25 -0400)
committerAdam <redacted>
Mon, 27 Oct 2014 21:25:57 +0000 (17:25 -0400)
pyva/pyva/src/main/python/limitserv/limitmanager.py

index 64431c1811dc7759d01bea25b86115b3baf33d80..a7950c7fc1e92fbf5f9b3b011306be4ae38a7c6d 100644 (file)
@@ -75,7 +75,7 @@ class LimitManager(object):
                if new_limit == old_limit or abs(new_limit - old_limit) < 2: #change mode only if the difference is >= 2
                        return
                
-               Acidictive.mode(self.module.nick, cname, "+l %d" % new_limit)
+               Acidictive.setMode(self.module.nick, cname, "+l %d" % new_limit)
                self.module.elog.command('%(chan)s [%(users)d users] Changed limit %(old_limit)d => %(new_limit)d' % {
                                'chan': cname,
                                'users': users,