1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-04 11:23:11 +02:00

Add CAP echo-message.

This commit is contained in:
Bram Matthys
2019-08-13 18:36:25 +02:00
parent 912eea52d7
commit 4c8fe6e8d9
5 changed files with 104 additions and 6 deletions
+2 -3
View File
@@ -1,5 +1,5 @@
/*
* Unreal Internet Relay Chat Daemon, src/modules/m_message.c
* Unreal Internet Relay Chat Daemon, src/modules/message.c
* (C) 2000-2001 Carsten V. Munk and the UnrealIRCd Team
* Moved to modules by Fish (Justin Hammond)
*
@@ -142,8 +142,6 @@ int ret;
if (!*text)
return CANPRIVMSG_CONTINUE;
RunHook4(HOOKTYPE_USERMSG, sptr, acptr, *text, notice);
return CANPRIVMSG_SEND;
} else {
/* Silenced */
@@ -430,6 +428,7 @@ int m_message(aClient *cptr, aClient *sptr, MessageTag *recv_mtags, int parc, ch
newcmd,
(MyClient(acptr) ? acptr->name : nick),
text);
RunHook5(HOOKTYPE_USERMSG, sptr, acptr, mtags, text, notice);
free_mtags(mtags);
continue;
} else