X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fngircd%2Fop.c;h=2d36cd559196c3e7639367370bf6960896f6e451;hb=a98bbc8e0b937f4fedf7ad852eaf109c6a9c5b8f;hp=588513dd43dd87271d64f3b6111d25b68300ddbb;hpb=32bfafafd9e90f9e224bf95e4f2512cea729aac1;p=ngircd-alex.git diff --git a/src/ngircd/op.c b/src/ngircd/op.c index 588513dd..2d36cd55 100644 --- a/src/ngircd/op.c +++ b/src/ngircd/op.c @@ -1,6 +1,6 @@ /* * ngIRCd -- The Next Generation IRC Daemon - * Copyright (c)2001-2008 Alexander Barton (alex@barton.de) + * Copyright (c)2001-2013 Alexander Barton (alex@barton.de) and Contributors. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -46,12 +46,12 @@ Op_NoPrivileges(CLIENT * Client, REQUEST * Req) if (from) { Log(LOG_NOTICE, "No privileges: client \"%s\" (%s), command \"%s\"", Req->prefix, Client_Mask(Client), Req->command); - return IRC_WriteStrClient(from, ERR_NOPRIVILEGES_MSG, + return IRC_WriteErrClient(from, ERR_NOPRIVILEGES_MSG, Client_ID(from)); } else { Log(LOG_NOTICE, "No privileges: client \"%s\", command \"%s\"", Client_Mask(Client), Req->command); - return IRC_WriteStrClient(Client, ERR_NOPRIVILEGES_MSG, + return IRC_WriteErrClient(Client, ERR_NOPRIVILEGES_MSG, Client_ID(Client)); } } /* Op_NoPrivileges */