projects
/
NeonServV5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3524001
)
don't try to rename an auth account if it didn't really change (host mask change)
author
pk910
<philipp@zoelle1.de>
Wed, 2 Nov 2011 01:23:08 +0000
(
02:23
+0100)
committer
pk910
<philipp@zoelle1.de>
Wed, 2 Nov 2011 01:23:08 +0000
(
02:23
+0100)
src/DBHelper.c
patch
|
blob
|
history
diff --git
a/src/DBHelper.c
b/src/DBHelper.c
index 43b984bae8b557b6d9941c6676e65ccb831254df..a629e3d7efab37461ee0cb9c802516b88abc1777 100644
(file)
--- a/
src/DBHelper.c
+++ b/
src/DBHelper.c
@@
-267,6
+267,8
@@
static int event_user_registered(struct UserNode *old_user, struct UserNode *new
strcpy(newauth, new_user->host);
*p = '.';
}
+ if(!stricmp(oldauth, newauth))
+ return 0;
//check if we know this user; then check the new auth
MYSQL_RES *res;
MYSQL_ROW row;