Removed the OwnerCommands.say command; it wasn't useful enough.

This commit is contained in:
Jeremy Fincher 2003-10-16 10:47:48 +00:00
parent 06a45ff35a
commit 3c676f844a
2 changed files with 0 additions and 11 deletions

View File

@ -336,14 +336,6 @@ class OwnerCommands(privmsgs.CapabilityCheckingPrivmsg):
ircdb.channels.reload() ircdb.channels.reload()
irc.reply(msg, conf.replySuccess) irc.reply(msg, conf.replySuccess)
def say(self, irc, msg, args):
"""<channel> <text>
Says <text> in <channel>
"""
(channel, text) = privmsgs.getArgs(args, needed=2)
irc.queueMsg(ircmsgs.privmsg(channel, text))
def connect(self, irc, msg, args): def connect(self, irc, msg, args):
"""<server> [<port>] """<server> [<port>]

View File

@ -96,9 +96,6 @@ class OwnerCommandsTestCase(PluginTestCase, PluginDocumentation):
self.assertNotError('unload MiscCommands') self.assertNotError('unload MiscCommands')
self.assertError('unload MiscCommands') self.assertError('unload MiscCommands')
def testSay(self):
self.assertResponse('say %s foo' % self.irc.nick, 'foo')
def testSetconf(self): def testSetconf(self):
try: try:
originalConfAllowEval = conf.allowEval originalConfAllowEval = conf.allowEval