mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 14:14:48 +02:00
591b1118913fa6aabb0dfc8e6c6e177d7216a48d
All changes:
- import the new division operator and the print function
- replace the %-formatting with .format()
- full PEP8 compliance
- major code cleanup: new function send_cmd() to send an IRC command,
split flood() function into many functions.
The messages sent from a file (or stdin) are formatted with
".format(self=self)", so that attributes from class Client are replaced
with their values. You can use for example these attributes:
{self.nick} current client nick
{self.name} the server name ('weercd')
{self.version} the server version (version of weercd.py)
core: add CA_FILE option in cmake and configure to setup default value of option weechat.network.gnutls_ca_file (task #12725)
WeeChat Readme ============== WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat environment for many operating systems. Everything can be done with a keyboard. It is customizable and extensible with scripts. Features -------- * chat client with multi-protocols/servers connection * small, fast and very light * customizable and extensible with plugins (C, Perl, Python, Ruby, Lua, Tcl, Guile) * compliant with IRC RFCs 1459, 2810, 2811, 2812 and 2813 * developed from scratch * multi-platform (GNU/Linux, *BSD, Mac OS X, QNX, Windows & other) * free software, released under GPLv3 Copyright --------- Copyright (C) 2003-2013 Sébastien Helleu <flashcode@flashtux.org> This file is part of WeeChat, the extensible chat client. WeeChat is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. WeeChat is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
Languages
C
79.5%
C++
17.8%
Python
1.6%
CMake
0.8%
Shell
0.2%
Other
0.1%