Permalink
Browse files

Don't include Modules.h from User.h

  • Loading branch information...
1 parent 483c8ed commit 3a7d0150cf445b5276e7d00ec19fb7589c771d9a @kylef kylef committed Oct 19, 2011
Showing with 7 additions and 2 deletions.
  1. +2 −1 include/znc/User.h
  2. +2 −1 modules/extra/autovoice.cpp
  3. +1 −0 modules/nickserv.cpp
  4. +1 −0 modules/raw.cpp
  5. +1 −0 src/User.cpp
View
3 include/znc/User.h
@@ -10,15 +10,16 @@
#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>
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:

0 comments on commit 3a7d015

Please sign in to comment.