From 7b75d470956c3b9051d2bc8c538b45922990b230 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Mon, 16 Aug 2004 21:36:48 +0000 Subject: [PATCH] Slight tweaks. --- src/Misc.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/Misc.py b/src/Misc.py index 9a19ae4c8..d91768240 100755 --- a/src/Misc.py +++ b/src/Misc.py @@ -506,12 +506,14 @@ class Misc(callbacks.Privmsg): irc.error('Dude, just give the command. No need for the tell.') return elif not ircutils.isNick(target): - irc.error('%s is not a valid nick or channel.' % target) + irc.error('%s is not a valid nick.' % target) return elif ircutils.nickEqual(target, irc.nick): irc.error('You just told me, why should I tell myself?') return - elif target not in irc.state.nicksToHostmasks: + elif target not in irc.state.nicksToHostmasks and \ + not ircdb.checkCapability(msg.prefix, 'owner'): + # We'll let owners do this. s = 'I haven\'t seen %s, I\'ll let you do the telling.' % target irc.error(s) return @@ -533,7 +535,8 @@ class Misc(callbacks.Privmsg): def action(self, irc, msg, args): """ - Returns the arguments given it, but as an action. + Replies with as an action. use nested commands to your benefit + here. """ text = privmsgs.getArgs(args) if text: