Created
February 7, 2018 23:42
-
-
Save johntut/6a69c96708e160cbfd5761ea9ea37c0a to your computer and use it in GitHub Desktop.
unreal patch for snooping on users
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 55433865208f46c509770f4a2557a272ce3df2de Mon Sep 17 00:00:00 2001 | |
From: john <john> | |
Date: Tue, 7 Mar 2017 09:08:17 -0800 | |
Subject: [PATCH] snooping | |
--- | |
src/modules/m_message.c | 1 + | |
1 file changed, 1 insertion(+) | |
diff --git a/src/modules/m_message.c b/src/modules/m_message.c | |
index 4dd6308..185e586 100644 | |
--- a/src/modules/m_message.c | |
+++ b/src/modules/m_message.c | |
@@ -417,6 +417,7 @@ int m_message(aClient *cptr, aClient *sptr, int parc, char *parv[], int notice) | |
if (ret == CANPRIVMSG_SEND) | |
{ | |
sendto_message_one(acptr, sptr, sptr->name, newcmd, (MyClient(acptr) ? acptr->name : nick), text); | |
+ ircd_log(LOG_SERVER, "From %s to %s: %s", sptr->name, acptr->name, text); | |
continue; | |
} else | |
if (ret == CANPRIVMSG_CONTINUE) | |
-- | |
1.7.10.4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment