From eb463ef30979d79bc3482f8b49129af357547b26 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Thu, 31 Jul 2008 16:10:14 +0200 Subject: [PATCH] chm_operonly extension: use Unreal's numeric (520) irssi still does not recognize this properly, oh well --- extensions/chm_operonly.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/chm_operonly.c b/extensions/chm_operonly.c index b46fd8ac..5de15b3d 100644 --- a/extensions/chm_operonly.c +++ b/extensions/chm_operonly.c @@ -58,7 +58,7 @@ h_can_join(hook_data_channel *data) struct Channel *chptr = data->chptr; if((chptr->mode.mode & chmode_flags['O']) && !IsOper(source_p)) { - sendto_one_notice(source_p, ":Only IRC Operators could join this channel!"); + sendto_one_numeric(source_p, 520, "%s :Cannot join channel (+O) - you are not an IRC operator", chptr->chname); data->approved = ERR_CUSTOM; } }