X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Fngircd%2Firc-op.c;h=e3744a272b5da168ce8fb225cf981d043167a660;hp=587c4c606b987c199098e3fd6e2d1ab2b4fcf8ac;hb=e2aacff7d4f126ce6a577ea4df7b49dd83b7355b;hpb=0eccdbc137e968062cb928cf33226dabf3e371ec diff --git a/src/ngircd/irc-op.c b/src/ngircd/irc-op.c index 587c4c60..e3744a27 100644 --- a/src/ngircd/irc-op.c +++ b/src/ngircd/irc-op.c @@ -14,7 +14,7 @@ #include "portab.h" -static char UNUSED id[] = "$Id: irc-op.c,v 1.15 2005/04/27 07:39:18 alex Exp $"; +static char UNUSED id[] = "$Id: irc-op.c,v 1.16 2006/08/12 11:58:21 fw Exp $"; #include "imp.h" #include @@ -101,15 +101,14 @@ IRC_INVITE( CLIENT *Client, REQUEST *Req ) /* If the target user is banned on that channel: remember invite */ if( Lists_CheckBanned( target, chan )) remember = true; - if( remember ) - { - /* We must memember this invite */ + if (remember) { + /* We must remember this invite */ if( ! Lists_AddInvited( Client_Mask( target ), chan, true)) return CONNECTED; } } - Log( LOG_DEBUG, "User \"%s\" invites \"%s\" to \"%s\" ...", Client_Mask( from ), Req->argv[0], Req->argv[1] ); - + LogDebug("User \"%s\" invites \"%s\" to \"%s\" ...", Client_Mask(from), Req->argv[0], Req->argv[1]); + /* Inform target client */ IRC_WriteStrClientPrefix( target, from, "INVITE %s %s", Req->argv[0], Req->argv[1] );