mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-19 17:38:26 +00:00
FreeBSD support and clean up of unnecessary ifdef FREEBSD
This commit is contained in:
@@ -12549,11 +12549,7 @@ void Client::Handle_OP_GuildCreate(const EQApplicationPacket *app)
|
||||
//
|
||||
|
||||
char *GuildName = (char *)app->pBuffer;
|
||||
#ifdef FREEBSD
|
||||
if(strlen(GuildName) > 60)
|
||||
#else
|
||||
if(strnlen(GuildName, 64) > 60)
|
||||
#endif
|
||||
{
|
||||
Message(clientMessageError, "Guild name too long.");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user