*/
#include "stdinc.h"
-#include "tools.h"
#include "class.h"
#include "client.h"
-#include "irc_string.h"
+#include "match.h"
#include "ircd.h"
#include "numeric.h"
#include "msg.h"
int namelen;
} clicap_list[] = {
_CLICAP("multi-prefix", CLICAP_MULTI_PREFIX, 0, 0),
- _CLICAP("sasl", CLICAP_SASL, 0, 0)
+ _CLICAP("sasl", CLICAP_SASL, 0, 0),
+ _CLICAP("presence", CLICAP_PRESENCE, 0, 0)
};
#define CLICAP_LIST_LEN (sizeof(clicap_list) / sizeof(struct clicap))
if(data)
{
- strlcpy(buf, data, sizeof(buf));
+ rb_strlcpy(buf, data, sizeof(buf));
p = buf;
}
if(source_p->name[0] && source_p->user)
{
char buf[USERLEN+1];
- strlcpy(buf, source_p->username, sizeof(buf));
+ rb_strlcpy(buf, source_p->username, sizeof(buf));
register_local_user(source_p, source_p, buf);
}
}