projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactoring of BasicHandler
[quassel.git]
/
src
/
core
/
ircserverhandler.h
diff --git
a/src/core/ircserverhandler.h
b/src/core/ircserverhandler.h
index
0d725f6
..
86eaff2
100644
(file)
--- a/
src/core/ircserverhandler.h
+++ b/
src/core/ircserverhandler.h
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-
09
by the Quassel Project *
+ * Copyright (C) 2005-
10
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 *
@@
-21,10
+21,10
@@
#ifndef IRCSERVERHANDLER_H
#define IRCSERVERHANDLER_H
#ifndef IRCSERVERHANDLER_H
#define IRCSERVERHANDLER_H
-#include "basichandler.h"
+#include "
core
basichandler.h"
#include "netsplit.h"
#include "netsplit.h"
-class IrcServerHandler : public BasicHandler {
+class IrcServerHandler : public
Core
BasicHandler {
Q_OBJECT
public:
Q_OBJECT
public:
@@
-107,6
+107,12
@@
private slots:
void handleEarlyNetsplitJoin(const QString &channel, const QStringList &users, const QStringList &modes);
void handleEarlyNetsplitJoin(const QString &channel, const QStringList &users, const QStringList &modes);
+ //! Destroy any existing netsplits
+ /** This slot deletes all netsplit objects
+ * Used to get rid of existing netsplits on network reconnect
+ */
+ void destroyNetsplits();
+
private:
void tryNextNick(const QString &errnick, bool erroneus = false);
bool checkParamCount(const QString &methodName, const QList<QByteArray> ¶ms, int minParams);
private:
void tryNextNick(const QString &errnick, bool erroneus = false);
bool checkParamCount(const QString &methodName, const QList<QByteArray> ¶ms, int minParams);