]> arthur.barton.de Git - ngircd-alex.git/commit
Channel_CheckAdminRights(): test if client can admin a channel
authorAlexander Barton <alex@barton.de>
Sun, 9 Jan 2011 21:40:11 +0000 (22:40 +0100)
committerAlexander Barton <alex@barton.de>
Sun, 9 Jan 2011 21:40:11 +0000 (22:40 +0100)
commitba32d594fd7a93305cd01a14978971d948392510
treef12aed730a2ca263000bab371455aef67ee8034a
parent3460c87c589b0bfd735dbdd761e9a508a2d9a3c7
Channel_CheckAdminRights(): test if client can admin a channel

This generic function tests if a client is allowed to do administrative
tasks to a specific channel:

 - servers and services are always truested ("allowed everything"),
 - channel operators are allowed,
 - IRC operarors are allowed if OperCanUseMode is set in the config.
src/ngircd/channel.c
src/ngircd/channel.h
src/ngircd/irc-mode.c