epiphani/bahamut — pull request #8 by cemeyer (2013-01-22 21:36:01+00:00)
Title: m_kick(): Auto-op cemeyer when he tries to kick

My friend runs bahamut and always forgets to chanop me, and so when I am
kicking newbs often I will be thwarted by:

"21:06 -!- #XXX You're not channel operator"

This gets in the way of my chanop duties, so instead, we should auto-op
me when I try and kick someone.

Tested locally with ircd and two instances of xchat, seems to work okay.
Doesn't report the mode change to channel, but that seemed like more
work so I skipped it (sendto_*() is entirely undocumented? lulz...)

CR: gcc, cemeyer