lib/protonbot/chanop/commands.rb in protonbot-chanop-0.1.3 vs lib/protonbot/chanop/commands.rb in protonbot-chanop-0.1.4
- old
+ new
@@ -273,10 +273,10 @@
dat[:plug].usermode(dat[:split][0], dat[:split][1], dat[:split][2])
end
end
end.perm!('umode')
-core.help_add('chanop', 'umode', 'umode [chan] <mode>',
+core.help_add('chanop', 'cmode', 'cmode [chan] <mode>',
'Sets given mode on this/given channel')
cmd(cmd: 'cmode') do |dat|
case dat[:split].length
when 0
dat.nreply 'Not enough parameters!'
\ No newline at end of file