diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-09-25 18:02:19 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-09-25 18:02:19 +0000 |
commit | 35737a7ab18d9f25222cb9cbb4222114b2d3131a (patch) | |
tree | 932016b0adf72658114673dad8abbb4a7c3b0ea5 /src/channels.cpp | |
parent | f07a2aa0866a8f953b41ba21592919f05d3a315e (diff) |
Whoops, fix minor typo
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5328 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/channels.cpp')
-rw-r--r-- | src/channels.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/channels.cpp b/src/channels.cpp index 98c64ae6f..28052de98 100644 --- a/src/channels.cpp +++ b/src/channels.cpp @@ -210,9 +210,10 @@ chanrec* chanrec::JoinUser(InspIRCd* Instance, userrec *user, const char* cn, bo if (!Ptr) { + privs = "@"; + if (IS_LOCAL(user)) { - privs = "@"; MOD_RESULT = 0; FOREACH_RESULT_I(Instance,I_OnUserPreJoin,OnUserPreJoin(user,NULL,cname,privs)); if (MOD_RESULT == 1) |