eric6/Network/IRC/IrcNetworkWidget.py

changeset 7900
72b88fb20261
parent 7836
2f0d208b8137
child 7923
91e843545d9a
equal deleted inserted replaced
7899:ecf67e07b6e0 7900:72b88fb20261
305 """ 305 """
306 Public method to add a server message. 306 Public method to add a server message.
307 307
308 @param msgType txpe of the message (string) 308 @param msgType txpe of the message (string)
309 @param msg message to be added (string) 309 @param msg message to be added (string)
310 @keyparam filterMsg flag indicating to filter the message (boolean) 310 @param filterMsg flag indicating to filter the message (boolean)
311 """ 311 """
312 if filterMsg: 312 if filterMsg:
313 msg = ircFilter(msg) 313 msg = ircFilter(msg)
314 s = '<font color="{0}">{1} <b>[</b>{2}<b>]</b> {3}</font>'.format( 314 s = '<font color="{0}">{1} <b>[</b>{2}<b>]</b> {3}</font>'.format(
315 Preferences.getIrc("ServerMessageColour"), 315 Preferences.getIrc("ServerMessageColour"),

eric ide

mercurial