-/* DBHelper.c - NeonServ v5.2
- * Copyright (C) 2011 Philipp Kreil (pk910)
+/* DBHelper.c - NeonServ v5.3
+ * Copyright (C) 2011-2012 Philipp Kreil (pk910)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
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;