mirror of
https://github.com/progval/Limnoria.git
synced 2025-04-27 13:31:08 -05:00
User: force replies for 'hostmask list' in private instead of requiring the command to be called that way
This commit is contained in:
parent
3633a2b2e3
commit
6cb747744a
@ -299,14 +299,14 @@ class User(callbacks.Plugin):
|
|||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
user = ircdb.users.getUser(name)
|
user = ircdb.users.getUser(name)
|
||||||
irc.reply(getHostmasks(user))
|
irc.reply(getHostmasks(user), private=True)
|
||||||
except KeyError:
|
except KeyError:
|
||||||
irc.errorNoUser()
|
irc.errorNoUser()
|
||||||
else:
|
else:
|
||||||
irc.reply(getHostmasks(user))
|
irc.reply(getHostmasks(user), private=True)
|
||||||
except KeyError:
|
except KeyError:
|
||||||
irc.errorNotRegistered()
|
irc.errorNotRegistered()
|
||||||
list = wrap(list, ['private', additional('something')])
|
list = wrap(list, [additional('something')])
|
||||||
|
|
||||||
@internationalizeDocstring
|
@internationalizeDocstring
|
||||||
def add(self, irc, msg, args, user, hostmask, password):
|
def add(self, irc, msg, args, user, hostmask, password):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user