projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9d46ee9
)
Fixed small bug in CTCP handling: userFromMask -> nickFromMask
author
Manuel Nickschas
<sputnick@quassel-irc.org>
Sat, 19 May 2007 02:01:04 +0000
(
02:01
+0000)
committer
Manuel Nickschas
<sputnick@quassel-irc.org>
Sat, 19 May 2007 02:01:04 +0000
(
02:01
+0000)
core/server.cpp
patch
|
blob
|
history
diff --git
a/core/server.cpp
b/core/server.cpp
index
01cf281
..
fe0da4c
100644
(file)
--- a/
core/server.cpp
+++ b/
core/server.cpp
@@
-866,7
+866,7
@@
void Server::handleCtcpAction(CtcpType ctcptype, QString prefix, QString target,
void Server::handleCtcpPing(CtcpType ctcptype, QString prefix, QString target, QString param) {
if(ctcptype == CtcpQuery) {
void Server::handleCtcpPing(CtcpType ctcptype, QString prefix, QString target, QString param) {
if(ctcptype == CtcpQuery) {
- ctcpReply(
user
FromMask(prefix), "PING", param);
+ ctcpReply(
nick
FromMask(prefix), "PING", param);
emit displayMsg(Message::Plain, "", tr("Received CTCP PING request by %1").arg(prefix));
} else {
// display ping answer
emit displayMsg(Message::Plain, "", tr("Received CTCP PING request by %1").arg(prefix));
} else {
// display ping answer
@@
-875,8
+875,8
@@
void Server::handleCtcpPing(CtcpType ctcptype, QString prefix, QString target, Q
void Server::handleCtcpVersion(CtcpType ctcptype, QString prefix, QString target, QString param) {
if(ctcptype == CtcpQuery) {
void Server::handleCtcpVersion(CtcpType ctcptype, QString prefix, QString target, QString param) {
if(ctcptype == CtcpQuery) {
- // FIXME use real Info about quasel :)
- ctcpReply(
user
FromMask(prefix), "VERSION", QString("Quassel:pre Release:*nix"));
+ // FIXME use real Info about quas
s
el :)
+ ctcpReply(
nick
FromMask(prefix), "VERSION", QString("Quassel:pre Release:*nix"));
emit displayMsg(Message::Plain, "", tr("Received CTCP VERSION request by %1").arg(prefix));
} else {
// TODO display Version answer
emit displayMsg(Message::Plain, "", tr("Received CTCP VERSION request by %1").arg(prefix));
} else {
// TODO display Version answer