summaryrefslogtreecommitdiff
path: root/src/map/guild.c
diff options
context:
space:
mode:
authorKevin <Kevin@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-07 15:10:37 +0000
committerKevin <Kevin@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-07 15:10:37 +0000
commit44f46558e22a2b6c7287a233767bbcb713e25f55 (patch)
tree8a121a2098de6597610aa45923b4bc6c96e852f6 /src/map/guild.c
parent58862dd12a898cbf75f099a2613ed6540325ce90 (diff)
downloadhercules-44f46558e22a2b6c7287a233767bbcb713e25f55.tar.gz
hercules-44f46558e22a2b6c7287a233767bbcb713e25f55.tar.bz2
hercules-44f46558e22a2b6c7287a233767bbcb713e25f55.tar.xz
hercules-44f46558e22a2b6c7287a233767bbcb713e25f55.zip
Party/guild names can no longer be less then 2 characters long.(bugreport:1328)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12521 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/guild.c')
-rw-r--r--src/map/guild.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/guild.c b/src/map/guild.c
index 8413c5c37..f02deb16c 100644
--- a/src/map/guild.c
+++ b/src/map/guild.c
@@ -402,7 +402,7 @@ int guild_create(struct map_session_data *sd,char *name)
{
nullpo_retr(0, sd);
- if(sd->status.guild_id)
+ if(sd->status.guild_id || strlen(name) < 2)
{
clif_guild_created(sd,1); // すでに所属している
return 0;