mirror of
git://git.acid.vegas/scroll.git
synced 2024-11-21 15:46:39 +00:00
sendmsg to irc_error fix
This commit is contained in:
parent
cdc15eecd8
commit
1deefcef76
@ -281,7 +281,7 @@ class Bot():
|
||||
self.settings[setting] = option
|
||||
await self.sendmsg(chan, color('OK', light_green))
|
||||
except ValueError:
|
||||
await self.sendmsg(chan, 'invalid option', 'must be a float or int')
|
||||
await self.irc_error(chan, 'invalid option', 'must be a float or int')
|
||||
elif setting == 'paste':
|
||||
if option == 'on':
|
||||
self.settings[setting] = True
|
||||
|
Loading…
Reference in New Issue
Block a user