Added an ignore command, useful for sequencing several nested commands.

This commit is contained in:
Jeremy Fincher 2003-08-17 09:26:05 +00:00
parent 62fbcccdf4
commit cae9f9a255

View File

@ -46,6 +46,9 @@ def configure(onStart, afterConnect, advanced):
onStart.append('load Utilities') onStart.append('load Utilities')
class Utilities(callbacks.Privmsg): class Utilities(callbacks.Privmsg):
def ignore(self, irc, msg, args):
pass
def shrink(self, irc, msg, args): def shrink(self, irc, msg, args):
text = privmsgs.getArgs(args) text = privmsgs.getArgs(args)
irc.reply(msg, text[:400]) irc.reply(msg, text[:400])