summaryrefslogtreecommitdiff
path: root/include/commands
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-03 00:09:38 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-03 00:09:38 +0000
commit1b7c615062a7b203c7fc3ce4c56e16eb671f7c15 (patch)
treee5b6369422834d66285e987cfb152d87d5b56943 /include/commands
parentf5a50a0b6d89ff786c288453d58b7d8f01006954 (diff)
Auto loading of commands as shared objects via dlsym (very lightweight interface, just expects a command_t* pointer)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5118 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/commands')
-rw-r--r--include/commands/cmd_nick.h2
-rw-r--r--include/commands/cmd_pass.h2
-rw-r--r--include/commands/cmd_user.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/include/commands/cmd_nick.h b/include/commands/cmd_nick.h
index 1924ce1e8..f63a6195c 100644
--- a/include/commands/cmd_nick.h
+++ b/include/commands/cmd_nick.h
@@ -25,7 +25,7 @@
class cmd_nick : public command_t
{
public:
- cmd_nick (InspIRCd* Instance) : command_t(Instance,"NICK",0,1) { syntax = "<newnick>"; }
+ cmd_nick (InspIRCd* Instance) : command_t(Instance,"NICK",0,1,true) { syntax = "<newnick>"; }
void Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_pass.h b/include/commands/cmd_pass.h
index 6cc48d423..922f12c02 100644
--- a/include/commands/cmd_pass.h
+++ b/include/commands/cmd_pass.h
@@ -28,7 +28,7 @@
class cmd_pass : public command_t
{
public:
- cmd_pass (InspIRCd* Instance) : command_t(Instance,"PASS",0,1) { syntax = "<password>"; }
+ cmd_pass (InspIRCd* Instance) : command_t(Instance,"PASS",0,1,true) { syntax = "<password>"; }
void Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_user.h b/include/commands/cmd_user.h
index 919078193..ac8a1a6c4 100644
--- a/include/commands/cmd_user.h
+++ b/include/commands/cmd_user.h
@@ -25,7 +25,7 @@
class cmd_user : public command_t
{
public:
- cmd_user (InspIRCd* Instance) : command_t(Instance,"USER",0,4) { syntax = "<username> <localhost> <remotehost> <GECOS>"; }
+ cmd_user (InspIRCd* Instance) : command_t(Instance,"USER",0,4,true) { syntax = "<username> <localhost> <remotehost> <GECOS>"; }
void Handle(const char** parameters, int pcnt, userrec *user);
};