Remove CLIENT.oper_by_my, Client_SetOperByMe() and Client_OperByMe() RemoveOperByMe
authorAlexander Barton <alex@barton.de>
Tue, 24 Sep 2013 23:29:23 +0000 (01:29 +0200)
committerAlexander Barton <alex@barton.de>
Tue, 24 Sep 2013 23:29:23 +0000 (01:29 +0200)
commiteccbd97e1f2599bfb76818fe6bc32967ed07e0c7
treee59f3ffe24dcb7c1832f5dc535f6278cd6794166
parentec5ab4fcd1bc361cacb56e999b2b8f0a00caf5a9
Remove CLIENT.oper_by_my, Client_SetOperByMe() and Client_OperByMe()

All places where Client_OperByMe() is used can either be converted to
Client_HasMode(Client, 'o') or Op_Check().

And Op_Check() itself can use the connection handle for deciding whether
the IRC Operator is a local user or not.
src/ngircd/client.c
src/ngircd/client.h
src/ngircd/irc-channel.c
src/ngircd/irc-mode.c
src/ngircd/irc-oper.c
src/ngircd/irc.c
src/ngircd/op.c