diff options
Diffstat (limited to 'include/commands')
-rw-r--r-- | include/commands/cmd_stats.h | 2 | ||||
-rw-r--r-- | include/commands/cmd_whois.h | 2 | ||||
-rw-r--r-- | include/commands/cmd_whowas.h | 8 |
3 files changed, 6 insertions, 6 deletions
diff --git a/include/commands/cmd_stats.h b/include/commands/cmd_stats.h index 6b090ef60..0aa98e359 100644 --- a/include/commands/cmd_stats.h +++ b/include/commands/cmd_stats.h @@ -23,7 +23,7 @@ #include "users.h" #include "channels.h" -void DoStats(InspIRCd* Instance, char statschar, userrec* user, string_list &results); +DllExport void DoStats(InspIRCd* Instance, char statschar, userrec* user, string_list &results); /** Handle /STATS */ diff --git a/include/commands/cmd_whois.h b/include/commands/cmd_whois.h index ab6778877..cd1f75c51 100644 --- a/include/commands/cmd_whois.h +++ b/include/commands/cmd_whois.h @@ -23,7 +23,7 @@ #include "channels.h" const char* Spacify(char* n); -void do_whois(InspIRCd* Instance, userrec* user, userrec* dest,unsigned long signon, unsigned long idle, const char* nick); +DllExport void do_whois(InspIRCd* Instance, userrec* user, userrec* dest,unsigned long signon, unsigned long idle, const char* nick); /** Handle /WHOIS */ diff --git a/include/commands/cmd_whowas.h b/include/commands/cmd_whowas.h index ccbe40493..8b31c3e7a 100644 --- a/include/commands/cmd_whowas.h +++ b/include/commands/cmd_whowas.h @@ -33,14 +33,14 @@ enum Internals }; /* Forward ref for timer */ -class MaintainTimer; +class WhoWasMaintainTimer; /* Forward ref for typedefs */ class WhoWasGroup; /** InspTimer that is used to maintain the whowas list, called once an hour */ -MaintainTimer* timer; +extern WhoWasMaintainTimer* timer; /** A group of users related by nickname */ @@ -110,12 +110,12 @@ class WhoWasGroup : public classbase ~WhoWasGroup(); }; -class MaintainTimer : public InspTimer +class WhoWasMaintainTimer : public InspTimer { private: InspIRCd* ServerInstance; public: - MaintainTimer(InspIRCd* Instance, long interval) + WhoWasMaintainTimer(InspIRCd* Instance, long interval) : InspTimer(interval, Instance->Time(), true), ServerInstance(Instance) { } |