projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Persist Blowfish keys in the database
[quassel.git]
/
src
/
core
/
ctcpparser.cpp
diff --git
a/src/core/ctcpparser.cpp
b/src/core/ctcpparser.cpp
index
f5257bb
..
d58d28d
100644
(file)
--- a/
src/core/ctcpparser.cpp
+++ b/
src/core/ctcpparser.cpp
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-201
5
by the Quassel Project *
+ * Copyright (C) 2005-201
8
by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-192,6
+192,11
@@
void CtcpParser::parse(IrcEventRawMessage *e, Message::Type messagetype)
flags |= Message::StatusMsg;
}
flags |= Message::StatusMsg;
}
+ // For self-messages, pass the flag on to the message, too
+ if (e->testFlag(EventManager::Self)) {
+ flags |= Message::Self;
+ }
+
if (coreSession()->networkConfig()->standardCtcp())
parseStandard(e, messagetype, dequotedMessage, ctcptype, flags);
else
if (coreSession()->networkConfig()->standardCtcp())
parseStandard(e, messagetype, dequotedMessage, ctcptype, flags);
else