int strnicmp(const char *s1, const char *s2, size_t len);
// String Functions
-
/********** Password functions **********/
bool passcmp(char *encrypted, char *plaintext); // Compares an encrypted pass with a plain text one
/********** GameServ Booleans **********/
+bool shuttingdown;
bool is_playing(char *u); // True if the given nickname in the clients list is playing.
bool is_playing(aClient *user);
ts = strtok(NULL, "\1");
notice(s_GameServ, source, "\1PING %s\1", ts);
} else if (stricmp(cmd, "\1VERSION\1") == 0) {
- notice(s_GameServ, source, "\1VERSION %s %s +devel\1", PACKAGE, VERSION);
+ notice(s_GameServ, source, "\1VERSION %s %s\1", PACKAGE, VERSION);
} else if (stricmp(cmd, "SEARCH") == 0) {
cmd = strtok(NULL, " ");
#else
raw("SQUIT %s :leaving: %s used the Shutdown command.", servername, source);
#endif
+ shuttingdown = true;
}
} else if (stricmp(cmd, "SAVE") == 0) {
aClient *user;