projects
/
NeonServV5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
414e6b1
)
do not throw an "PARSE ERROR" error for ZNC messages (***!znc@znc.in)
author
pk910
<philipp@zoelle1.de>
Thu, 18 Oct 2012 23:03:03 +0000
(
01:03
+0200)
committer
pk910
<philipp@zoelle1.de>
Thu, 18 Oct 2012 23:03:03 +0000
(
01:03
+0200)
src/IRCParser.c
patch
|
blob
|
history
diff --git
a/src/IRCParser.c
b/src/IRCParser.c
index 35b99a491269e282a769f9e001a192de782d320e..143148b5e12ea71145b6529390ac1be167de6823 100644
(file)
--- a/
src/IRCParser.c
+++ b/
src/IRCParser.c
@@
-640,6
+640,7
@@
static IRC_CMD(raw_privmsg) {
if(from == NULL || argc < 2) return 0;
struct UserNode *user = getUserByMask(from);
if(user == NULL) {
+ if(stricmplen(from, "***!", 4) == 0) return 1; /* ZNC Playback */
user = createTempUserMask(from);
if(!user) return 0;
user->flags |= USERFLAG_ISTMPUSER;