mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 06:49:24 +01:00
Aka: Fix previous commit.
This commit is contained in:
parent
50e3f2ab16
commit
e5bac7e023
@ -375,8 +375,8 @@ class Aka(callbacks.Plugin):
|
|||||||
alias += ' $*'
|
alias += ' $*'
|
||||||
try:
|
try:
|
||||||
self._add_aka(channel, name, alias)
|
self._add_aka(channel, name, alias)
|
||||||
self.log.info('Adding Aka %q for %q (from %s)' % (
|
self.log.info('Adding Aka %q for %q (from %s)',
|
||||||
name, alias, msg.prefix))
|
name, alias, msg.prefix)
|
||||||
irc.replySuccess()
|
irc.replySuccess()
|
||||||
except AkaError as e:
|
except AkaError as e:
|
||||||
irc.error(str(e))
|
irc.error(str(e))
|
||||||
@ -398,7 +398,7 @@ class Aka(callbacks.Plugin):
|
|||||||
channel = arg
|
channel = arg
|
||||||
try:
|
try:
|
||||||
self._remove_aka(channel, name)
|
self._remove_aka(channel, name)
|
||||||
self.log.info('Removing Aka %q (from %s)' % (name, msg.prefix))
|
self.log.info('Removing Aka %q (from %s)', name, msg.prefix)
|
||||||
irc.replySuccess()
|
irc.replySuccess()
|
||||||
except AkaError as e:
|
except AkaError as e:
|
||||||
irc.error(str(e))
|
irc.error(str(e))
|
||||||
|
Loading…
Reference in New Issue
Block a user