]> jfr.im git - irc/quakenet/snircd-patchqueue.git/blame - hisadmin.patch
welcome.patch - only compare timestamps during bursts, else accept - warn for timesta...
[irc/quakenet/snircd-patchqueue.git] / hisadmin.patch
CommitLineData
715c825d
CP
1allows ordinary users to specify a remote server, and only throws an error when it doesnt match the local server - inconsistent with many other irc commands (names info motd etc.)
2
3diff -r f9d3f3500a68 ircd/m_admin.c
4--- a/ircd/m_admin.c Sun Jan 11 22:38:40 2009 +0000
5+++ b/ircd/m_admin.c Sun Jan 11 22:38:40 2009 +0000
6@@ -120,7 +120,7 @@
7 assert(0 != cptr);
8 assert(cptr == sptr);
9
10- if (parc > 1 && match(parv[1], cli_name(&me)))
11+ if (parc > 1)
12 return send_reply(sptr, ERR_NOPRIVILEGES);
13
14 return send_admin_info(sptr);