]> jfr.im git - irc/quakenet/snircd-patchqueue.git/commitdiff
add operping.patch - mo_ping is a mess, oper get to use m_ping instead.
authorwiebe <redacted>
Thu, 22 Jan 2009 23:40:25 +0000 (00:40 +0100)
committerwiebe <redacted>
Thu, 22 Jan 2009 23:40:25 +0000 (00:40 +0100)
operping.patch [new file with mode: 0644]
series

diff --git a/operping.patch b/operping.patch
new file mode 100644 (file)
index 0000000..97ab9a8
--- /dev/null
@@ -0,0 +1,16 @@
+mo_ping is a mess with legacy remote stuff that does not even work, besides
+there is /RPING to ping a remote server anyway. Simplest change is to let the ircd
+use m_ping for opers as well.
+
+diff -r 6903896e559f ircd/parse.c
+--- a/ircd/parse.c     Fri Jan 23 00:33:01 2009 +0100
++++ b/ircd/parse.c     Fri Jan 23 00:34:19 2009 +0100
+@@ -252,7 +252,7 @@
+     TOK_PING,
+     0, MAXPARA, MFLG_SLOW, 0, NULL,
+     /* UNREG, CLIENT, SERVER, OPER, SERVICE */
+-    { m_unregistered, m_ping, ms_ping, mo_ping, m_ignore }
++    { m_unregistered, m_ping, ms_ping, m_ping, m_ignore }
+   },
+   {
+     MSG_PONG,
diff --git a/series b/series
index a1ec3ebafc5b2345f8a518f041139c142e352853..656c9bda60a509f18b64d7e538fb63fbd0a3eca3 100644 (file)
--- a/series
+++ b/series
@@ -24,4 +24,5 @@ privlocalchan.patch
 burstwhotopic.patch
 opernowildbadchan.patch
 operglinenick.patch
+operping.patch
 split.patch