]> jfr.im git - irc/quakenet/snircd-patchqueue.git/blame - opertarget
nickgline: include nick! bit in gline loggin
[irc/quakenet/snircd-patchqueue.git] / opertarget
CommitLineData
edb26b39
P
1# HG changeset patch
2# Parent 77f9b0ad8a6e22f013b6a3b2bbdf5dff77709721
3
4diff -r 77f9b0ad8a6e ircd/s_user.c
5--- a/ircd/s_user.c Sun Jul 14 14:11:37 2013 +0100
6+++ b/ircd/s_user.c Sun Jul 14 14:12:28 2013 +0100
7@@ -941,6 +941,10 @@
8 if (MyConnect(cptr))
9 send_reply(cptr, RPL_HOSTHIDDEN, cli_user(cptr)->host);
10
11+ /* opers always have a free target */
12+ if (IsAnOper(sptr))
13+ return 0;
14+
15 /*
16 * Go through all channels the client was on, rejoin him
17 * and set the modes, if any