channel_set_singlemode() : don't do anything if you're not channel op/halfop

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1555 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-06-12 00:08:14 +00:00 committed by cras
commit 7c9438c172
3 changed files with 26 additions and 18 deletions

View file

@ -33,8 +33,8 @@ int channel_mode_is_set(IRC_CHANNEL_REC *channel, char mode);
void parse_channel_modes(IRC_CHANNEL_REC *channel, const char *setby,
const char *modestr);
void channel_set_singlemode(IRC_SERVER_REC *server, const char *channel,
const char *nicks, const char *mode);
void channel_set_singlemode(IRC_CHANNEL_REC *channel, const char *nicks,
const char *mode);
void channel_set_mode(IRC_SERVER_REC *server, const char *channel,
const char *mode);