summaryrefslogtreecommitdiff
path: root/src/modules.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules.cpp')
-rw-r--r--src/modules.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index 1c37dd0cb..a052b9302 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -14,6 +14,7 @@
#include "wildcard.h"
#include "mode.h"
#include "message.h"
+#include "commands.h"
// class type for holding an extended mode character - internal to core
@@ -178,6 +179,11 @@ void Server::QuitUser(userrec* user, std::string reason)
kill_link(user,reason.c_str());
}
+bool Server::IsUlined(std::string server)
+{
+ return is_uline(server.c_str())
+}
+
void Server::CallCommandHandler(std::string commandname, char** parameters, int pcnt, userrec* user)
{
call_handler(commandname.c_str(),parameters,pcnt,user);