-/* cmd_global_motd.c - NeonServ v5.4
+/* cmd_global_motd.c - NeonServ v5.6
* Copyright (C) 2011-2012 Philipp Kreil (pk910)
*
* This program is free software: you can redistribute it and/or modify
while (fgets(line, MAXLEN, f) != NULL) {
if((a = strchr(line, '\n')))
*a = '\0';
- reply(getTextBot(), user, "%s", line);
+ reply(textclient, user, "%s", line);
}
fclose(f);
}
\ No newline at end of file