summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-30 14:40:20 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-30 14:40:20 +0000
commit9f40c69ca062be39abecc06870824332da558c25 (patch)
tree4b8647ed7d5bdd16b8977c76bb2b2afb86e10b19 /src/commands.cpp
parent2977a23070faaddc9972b2ce6f22452be471b12e (diff)
Added oper classes and types (done through the planned privilage system on a per-command basis)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@756 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index a9bf10699..c280d0699 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -1337,6 +1337,7 @@ void handle_oper(char **parameters, int pcnt, userrec *user)
/* found this oper's opertype */
ConfValue("type","host",j,Hostname,&config_f);
ChangeDisplayedHost(user,Hostname);
+ strncpy(user->oper,TypeName,NICKMAX);
}
}
if (!strchr(user->modes,'o'))