From 35737a7ab18d9f25222cb9cbb4222114b2d3131a Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 25 Sep 2006 18:02:19 +0000 Subject: Whoops, fix minor typo git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5328 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/channels.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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) -- cgit v1.2.3