fixed operautojoin stuff
This commit is contained in:
parent
b26c297116
commit
586b123aed
1 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: s_user.c,v 1.32 2002/09/26 12:34:46 fishwaldo Exp $
|
||||
* $Id: s_user.c,v 1.33 2002/09/26 12:44:33 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
|
@ -1396,7 +1396,7 @@ oper_up( struct Client *source_p, struct ConfItem *aconf )
|
|||
|
||||
/* autojoin them to a channel if its defined */
|
||||
flags = 0;
|
||||
if (ConfigFileEntry.operautojoin) {
|
||||
if (strlen(ConfigFileEntry.operautojoin) > 0) {
|
||||
sendto_one(source_p, ":%s NOTICE %s :Autojoining you to %s", me.name, source_p->name, ConfigFileEntry.operautojoin);
|
||||
if ((chptr = hash_find_channel(ConfigFileEntry.operautojoin)) != NULL) {
|
||||
if (IsMember(source_p, chptr))
|
||||
|
|
Reference in a new issue