mirror of
git://git.acid.vegas/scroll.git
synced 2024-11-21 23:56: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
|
self.settings[setting] = option
|
||||||
await self.sendmsg(chan, color('OK', light_green))
|
await self.sendmsg(chan, color('OK', light_green))
|
||||||
except ValueError:
|
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':
|
elif setting == 'paste':
|
||||||
if option == 'on':
|
if option == 'on':
|
||||||
self.settings[setting] = True
|
self.settings[setting] = True
|
||||||
|
Loading…
Reference in New Issue
Block a user