mirror of
https://github.com/irssi/irssi.git
synced 2026-08-23 02:22:36 +02:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
9206984ffc
6 changed files with 52 additions and 19 deletions
|
|
@ -1,14 +1,24 @@
|
|||
|
||||
%9Syntax:%9
|
||||
|
||||
@SYNTAX:query@
|
||||
|
||||
Starts a private conversation with the nick. All text you
|
||||
type that would normally be sent to your channel now goes to
|
||||
the specified nick in the form of MSGs.
|
||||
%9Parameters:%9
|
||||
|
||||
Usually this command opens up a new window, too.
|
||||
-window: Uses the active window instead of opening a new one.
|
||||
-<server tag>: The server tag the target nickname is on.
|
||||
|
||||
Note: It removes the active query from the active window when
|
||||
used without parameters, like UNQUERY.
|
||||
The nickname to query and the message.
|
||||
|
||||
See also: WINDOW, MSG, SET QUERY, UNQUERY
|
||||
%9Description:%9
|
||||
|
||||
Starts a private conversation with a nickname.
|
||||
|
||||
%9Examples:%9
|
||||
|
||||
/QUERY mike
|
||||
/QUERY -freenode bob
|
||||
/QUERY -freenode -window sarah
|
||||
|
||||
%9See also:%9 MSG, UNQUERY, WINDOW
|
||||
|
||||
|
|
|
|||
|
|
@ -1,10 +1,21 @@
|
|||
|
||||
%9Syntax:%9
|
||||
|
||||
@SYNTAX:quit@
|
||||
|
||||
This ends your IRC session. If a quit message is supplied, it
|
||||
will be displayed to anyone else on any channel you were on
|
||||
before quitting. If one isn't specified, the text "Leaving" is
|
||||
used.
|
||||
%9Parameters:%9
|
||||
|
||||
/EXIT does the same.
|
||||
The message to advertise.
|
||||
|
||||
%9Description:%9
|
||||
|
||||
Terminates the application and advertises the given message on all the
|
||||
networks you are connected to.
|
||||
|
||||
%9Examples:%9
|
||||
|
||||
/QUIT
|
||||
/QUIT <@cartman> Screw you guys, I'm going home!
|
||||
|
||||
%9See also:%9 DISCONNECT
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,20 @@
|
|||
|
||||
%9Syntax:%9
|
||||
|
||||
@SYNTAX:quote@
|
||||
|
||||
Sends server raw data without parsing.
|
||||
%9Parameters:%9
|
||||
|
||||
Example:
|
||||
/QUOTE PRIVMSG cras :Hey, this works!
|
||||
The text to send to the IRC server.
|
||||
|
||||
%9Description:%9
|
||||
|
||||
Sends raw data to the server without any parsing.
|
||||
|
||||
%9Examples:%9
|
||||
|
||||
/QUOTE PRIVMSG mike: Hey, this works!
|
||||
/QUOTE OPERWALL :Meow!
|
||||
|
||||
%9See also:%9 CONNECT, DISCONNECT, JOIN, MSG, PART
|
||||
|
||||
|
|
|
|||
|
|
@ -163,7 +163,7 @@ static int module_load_name(const char *path, const char *rootmodule,
|
|||
GModule *gmodule;
|
||||
MODULE_REC *module;
|
||||
MODULE_FILE_REC *rec;
|
||||
gpointer value1, value2;
|
||||
gpointer value1, value2 = NULL;
|
||||
char *initfunc, *deinitfunc;
|
||||
int found;
|
||||
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@ int settings_get_bool(const char *key)
|
|||
int settings_get_time(const char *key)
|
||||
{
|
||||
const char *str;
|
||||
int msecs;
|
||||
int msecs = 0;
|
||||
|
||||
str = settings_get_str_type(key, SETTING_TYPE_TIME);
|
||||
if (str != NULL && !parse_time_interval(str, &msecs))
|
||||
|
|
@ -140,7 +140,7 @@ int settings_get_level(const char *key)
|
|||
int settings_get_size(const char *key)
|
||||
{
|
||||
const char *str;
|
||||
int bytes;
|
||||
int bytes = 0;
|
||||
|
||||
str = settings_get_str_type(key, SETTING_TYPE_SIZE);
|
||||
if (str != NULL && !parse_size(str, &bytes))
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@ char *expand_emphasis(WI_ITEM_REC *item, const char *text)
|
|||
continue;
|
||||
if (!ishighalnum(end[-1]) || ishighalnum(end[1]) ||
|
||||
end[1] == type || end[1] == '*' || end[1] == '_' ||
|
||||
(type == 29 && end[1] != NULL && ishighalnum(end[2])))
|
||||
(type == 29 && end[1] != '\0' && ishighalnum(end[2])))
|
||||
continue;
|
||||
|
||||
if (IS_CHANNEL(item)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue