projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #96 from TheOneRing/qca_qt5
[quassel.git]
/
src
/
core
/
coresessioneventprocessor.cpp
diff --git
a/src/core/coresessioneventprocessor.cpp
b/src/core/coresessioneventprocessor.cpp
index
f8c5e34
..
f3e94e8
100644
(file)
--- a/
src/core/coresessioneventprocessor.cpp
+++ b/
src/core/coresessioneventprocessor.cpp
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-201
3
by the Quassel Project *
+ * Copyright (C) 2005-201
4
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 *
@@
-127,7
+127,7
@@
void CoreSessionEventProcessor::processIrcEventAuthenticate(IrcEvent *e)
construct.append(net->saslAccount());
construct.append(QChar(QChar::Null));
construct.append(net->saslPassword());
construct.append(net->saslAccount());
construct.append(QChar(QChar::Null));
construct.append(net->saslPassword());
- QByteArray saslData = QByteArray(construct.to
Ascii
().toBase64());
+ QByteArray saslData = QByteArray(construct.to
Latin1
().toBase64());
saslData.prepend("AUTHENTICATE ");
net->putRawLine(saslData);
#ifdef HAVE_SSL
saslData.prepend("AUTHENTICATE ");
net->putRawLine(saslData);
#ifdef HAVE_SSL
@@
-480,14
+480,10
@@
void CoreSessionEventProcessor::processKeyEvent(KeyEvent *e)
/* RPL_WELCOME */
/* RPL_WELCOME */
-void CoreSessionEventProcessor::processIrcEvent001(IrcEvent *e)
+void CoreSessionEventProcessor::processIrcEvent001(IrcEvent
Numeric
*e)
{
{
- if (!checkParamCount(e, 1))
- return;
-
- QString myhostmask = e->params().at(0).section(' ', -1, -1);
e->network()->setCurrentServer(e->prefix());
e->network()->setCurrentServer(e->prefix());
- e->network()->setMyNick(
nickFromMask(myhostmask
));
+ e->network()->setMyNick(
e->target(
));
}
}