summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-06-12 03:11:18 +0000
committercyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-06-12 03:11:18 +0000
commit06d52335024c3a1c464fdf1744319abde271e6cd (patch)
tree7d52ec7953f7becbd118c13b5da2da2ebf962dae /src
parenta4b40f6f675d013698206201e805af12a46e41de (diff)
Bugfix for bug #1082, remove check for NSModeOnID from NS UPDATE, it's not logical to check for NSModeOnID since you must be identified to use NS UPDATE anyways.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/stable@2322 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r--src/core/ns_update.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/ns_update.c b/src/core/ns_update.c
index 9807c8591..b002b3f85 100644
--- a/src/core/ns_update.c
+++ b/src/core/ns_update.c
@@ -73,8 +73,7 @@ int do_nickupdate(User * u)
notice_lang(s_NickServ, u, NICK_IDENTIFY_REQUIRED, s_NickServ);
} else {
na = u->na;
- if (NSModeOnID)
- do_setmodes(u);
+ do_setmodes(u);
check_memos(u);
if (na->last_realname)
free(na->last_realname);