1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 20:23:13 +02:00

Fixed windows build

This commit is contained in:
Adam
2011-08-10 01:32:07 -04:00
parent 13bcc4ef14
commit ded98ed3de
11 changed files with 37 additions and 17 deletions
+2 -2
View File
@@ -44,7 +44,7 @@ enum ChannelAccess
class ChanAccess;
class AccessProvider : public Service
class CoreExport AccessProvider : public Service
{
public:
AccessProvider(Module *o, const Anope::string &n);
@@ -75,7 +75,7 @@ class CoreExport ChanAccess
bool operator<=(ChanAccess &other);
};
class AccessGroup : public std::vector<ChanAccess *>
class CoreExport AccessGroup : public std::vector<ChanAccess *>
{
public:
ChannelInfo *ci;
+2 -2
View File
@@ -249,7 +249,7 @@ class CoreExport NickCore : public Extensible, public Flags<NickCoreFlag, NI_END
/** Timer for colliding nicks to force people off of nicknames
*/
class NickServCollide : public Timer
class CoreExport NickServCollide : public Timer
{
dynamic_reference<User> u;
Anope::string nick;
@@ -273,7 +273,7 @@ class NickServCollide : public Timer
/** Timers for releasing nicks to be available for use
*/
class NickServRelease : public User, public Timer
class CoreExport NickServRelease : public User, public Timer
{
Anope::string nick;
+1 -1
View File
@@ -188,7 +188,7 @@ class Version
class CallBack;
class XLineManager;
class CommandSource;
struct CommandSource;
/** Every module in Anope is actually a class.
*/
+1 -1
View File
@@ -12,7 +12,7 @@
class OperType;
struct Oper
struct CoreExport Oper
{
Anope::string name;
Anope::string password;
+1 -1
View File
@@ -357,7 +357,7 @@ class CoreExport ChannelInfo : public Extensible, public Flags<ChannelInfoFlag,
/** A timer used to keep the BotServ bot/ChanServ in the channel
* after kicking the last user in a channel
*/
class ChanServTimer : public Timer
class CoreExport ChanServTimer : public Timer
{
private:
dynamic_reference<Channel> c;
-4
View File
@@ -14,10 +14,6 @@
class CoreExport SocketEngine
{
#ifdef _WIN32
/* Windows crap */
static WSADATA wsa;
#endif
public:
/* Map of sockets */
static std::map<int, Socket *> Sockets;