diff options
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 3aa5ecaa8..864623299 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -1452,7 +1452,14 @@ chanrec* add_channel(userrec *user, const char* cn, const char* key, bool overri { // use the stamdard J token with no privilages. char buffer[MAXBUF]; - snprintf(buffer,MAXBUF,"J %s %s",user->nick,Ptr->name); + if (created == 2) + { + snprintf(buffer,MAXBUF,"J %s @%s",user->nick,Ptr->name); + } + else + { + snprintf(buffer,MAXBUF,"J %s %s",user->nick,Ptr->name); + } NetSendToAll(buffer); } |