mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-23 18:44:04 +01: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:
|
||||
try:
|
||||
user = ircdb.users.getUser(name)
|
||||
irc.reply(getHostmasks(user))
|
||||
irc.reply(getHostmasks(user), private=True)
|
||||
except KeyError:
|
||||
irc.errorNoUser()
|
||||
else:
|
||||
irc.reply(getHostmasks(user))
|
||||
irc.reply(getHostmasks(user), private=True)
|
||||
except KeyError:
|
||||
irc.errorNotRegistered()
|
||||
list = wrap(list, ['private', additional('something')])
|
||||
list = wrap(list, [additional('something')])
|
||||
|
||||
@internationalizeDocstring
|
||||
def add(self, irc, msg, args, user, hostmask, password):
|
||||
|
Loading…
Reference in New Issue
Block a user