*/
#include "config.h"
-#if 0
-/*
- * No need to include handlers.h here the signatures must match
- * and we don't need to force a rebuild of all the handlers everytime
- * we add a new one to the list. --Bleep
- */
-#include "handlers.h"
-#endif /* 0 */
#include "client.h"
#include "ircd.h"
#include "ircd_alloc.h"
#include "send.h"
#include <assert.h>
+#include <string.h>
/*
* user_set_away - set user away state
*/
unsigned int len = strlen(message);
- if (len > TOPICLEN) {
- message[TOPICLEN] = '\0';
- len = TOPICLEN;
+ if (len > AWAYLEN) {
+ message[AWAYLEN] = '\0';
+ len = AWAYLEN;
}
if (away)
away = (char*) MyRealloc(away, len + 1);