fixed synatax error
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@13755 282e977c-c81d-0410-88c4-b93c2d0d6712master
parent
523b74b56a
commit
14881dee18
|
|
@ -128,8 +128,8 @@ if (Access ==1) or (isDM == 1):
|
|||
if guild.info(text[1]):
|
||||
message = '%s is already a member.' %text[1]
|
||||
else:
|
||||
#changed to support python 2.5 guild.add_member(text[1], 'Initiate' if len(text)==2 else text[2])
|
||||
guild.add_member(text[1], 'Initiate' )
|
||||
#changed to support python 2.5 guild.add_member(text[1], 'Initiate' if len(text)==2 else text[2])
|
||||
guild.add_member(text[1], 'Initiate' )
|
||||
message = 'Added %s to the guild' %text[1]
|
||||
else:
|
||||
message = 'Sorry, I don\'t know any %s' %text[1]
|
||||
|
|
|
|||
Loading…
Reference in New Issue