Network/IRC/IrcNetworkManager.py

changeset 2280
8e85ca3fabe7
parent 2279
cbf90feec16f
child 2302
f29e9405c851
equal deleted inserted replaced
2279:cbf90feec16f 2280:8e85ca3fabe7
438 438
439 def autoJoin(self): 439 def autoJoin(self):
440 """ 440 """
441 Public method to check the auto join status. 441 Public method to check the auto join status.
442 442
443 @return flag indicating if the channel should be 443 @return flag indicating if the channel should be
444 joined automatically (boolean) 444 joined automatically (boolean)
445 """ 445 """
446 return self.__autoJoin 446 return self.__autoJoin
447 447
448 def setAutoJoin(self, enable): 448 def setAutoJoin(self, enable):
449 """ 449 """
450 Public method to set the auto join status of the channel. 450 Public method to set the auto join status of the channel.
451 451
452 @param enable flag indicating if the channel should be 452 @param enable flag indicating if the channel should be
453 joined automatically (boolean) 453 joined automatically (boolean)
454 """ 454 """
455 self.__autoJoin = enable 455 self.__autoJoin = enable
456 456
457 457
912 912
913 @param oldName old name of the identity (string) 913 @param oldName old name of the identity (string)
914 @param newName new name of the identity (string) 914 @param newName new name of the identity (string)
915 """ 915 """
916 if oldName in self.__identities: 916 if oldName in self.__identities:
917 self.__identities[newName] = self.__identities[oldName] 917 self.__identities[newName] = self.__identities[oldName]
918 del self.__identities[oldName] 918 del self.__identities[oldName]
919 919
920 for network in self.__networks: 920 for network in self.__networks:
921 if network.getIdentityName() == oldName: 921 if network.getIdentityName() == oldName:
922 network.setIdentityName(newName) 922 network.setIdentityName(newName)

eric ide

mercurial