Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Don't include Modules.h from User.h

  • Loading branch information...
commit 3a7d0150cf445b5276e7d00ec19fb7589c771d9a 1 parent 483c8ed
@kylef kylef authored
View
3  include/znc/User.h
@@ -10,8 +10,8 @@
#define _USER_H
#include <znc/zncconfig.h>
+#include <znc/Utils.h>
#include <znc/Buffer.h>
-#include <znc/Modules.h>
#include <znc/Nick.h>
#include <set>
#include <vector>
@@ -19,6 +19,7 @@
using std::set;
using std::vector;
+class CModules;
class CChan;
class CClient;
class CConfig;
View
3  modules/extra/autovoice.cpp
@@ -6,8 +6,9 @@
* by the Free Software Foundation.
*/
-#include <znc/Chan.h>
+#include <znc/Modules.h>
#include <znc/User.h>
+#include <znc/Chan.h>
class CAutoVoiceUser {
public:
View
1  modules/nickserv.cpp
@@ -6,6 +6,7 @@
* by the Free Software Foundation.
*/
+#include <znc/Modules.h>
#include <znc/User.h>
class CNickServ : public CModule
View
1  modules/raw.cpp
@@ -6,6 +6,7 @@
* by the Free Software Foundation.
*/
+#include <znc/Modules.h>
#include <znc/User.h>
class CRawMod : public CModule {
View
1  src/User.cpp
@@ -14,6 +14,7 @@
#include <znc/IRCSock.h>
#include <znc/Server.h>
#include <znc/znc.h>
+#include <znc/Modules.h>
class CUserTimer : public CCron {
public:
Please sign in to comment.
Something went wrong with that request. Please try again.