| Age | Commit message (Collapse) | Author |
|
When "PAMIsOptional" is set, clients not sending a password are still
allowed to connect: they won't become "identified" and keep the "~"
character prepended to their supplied user name.
|
|
Use the pointer of the password of the client directly.
Eventually we can get rid of the global password again ...
|
|
This fixes two bugs:
- "WHO <nick>" returned nothing at all if the user was "+i"
(reported by Cahata, thanks).
- "WHO <nick|nickmask>" returned channel names instead of "*"
when the user was member of a (visible) channel.
Clean up code and add documentation as well.
|
|
This fixes:
lists.c: In function ‘Lists_Check’:
lists.c:330:9: warning: variable ‘now’ set but not used
|
|
Thanks to Christoph Biedl!
|
|
Thanks to Christoph Biedl!
|
|
Rename Channel_Count() to Channel_CountVisible() and only count channels
that are visible to the requesting client, so the existence of secret
channels is no longer revealed by using LUSERS.
Reported by Cahata -- thanks!
|
|
|
|
Unknown user and channel modes no longer stop the mode parser, but are
simply ignored. Therefore modes after the unknown one are now handled.
This is how ircd2.10/ircd2.11/ircd-seven behave, at least.
Reported by Cahata -- thanks!
|
|
This fixes:
irc-oper.c: In function ‘IRC_xLINE’:
irc-oper.c:429: warning: ‘class’ may be used uninitialized in this function
irc-oper.c:430: warning: ‘class_c’ may be used uninitialized in this function
|
|
This updates the "validity" (timeout) as well as the "reason" text,
if given.
|
|
The old behavior of returning true/false is compatible to this change,
so there are no other code changes required.
|
|
|
|
|
|
|
|
|
|
|
|
GLINE and KLINE lists are cleared automatically now, not when they are
checked. So "STATS g" and "STATS k" no longer show expired entries :-)
|
|
|
|
The old behavior of returning true/false is compatible to this change,
so there are no other code changes required.
|
|
|
|
|
|
|
|
|
|
Adjust Lists_Add() and Class_AddMask() accordingly, implement
Lists_GetReason() and Lists_GetValidity().
|
|
Implement Class_{AddMask|DeleteMask|IsMember}() functions.
|
|
The old "only once" true/false behavior is still supported, so there
are no other code changes required.
|
|
Count elements dynamically when needed.
|
|
Skip predefined channel structures that have configured no name,
like the "--configtest" does.
|
|
|
|
Use the pattern "localhost*" for valid local hostnames.
|
|
If gai_strerror() isn't available, use a macro that simply returns
a static error message (regardless of the real error code).
For example, GNU libc 2.0.7 doesn't implement gai_strerror().
|
|
It isn't using GNU libc 2.0.7, for example ...
|
|
Reported by Christoph Biedl in #ngircd. Thanks!
|
|
Don't use the size of the pointer, use the size of the variable!
|
|
Thanks to kaFux for pointing this out!
And fix code formatting as well ...
|
|
This fixes the problem that ngIRCd can't do any IDENT lookups because
of the socket has already been closed in the child process.
The bug has been introduced starting with ngIRCd 17 ... :-(
(commit ID 6ebb31ab35e)
|
|
- User mode "R": indicates that the nick name of this user is "registered".
This mode isn't handled by ngIRCd itself, but must be set and unset by
IRC services like Anope.
- Channel mode "R": only registered users (having the user mode "R" set)
are allowed to join this channel.
|
|
This removes spurious (but harmless) debug messages.
|
|
|
|
DEBUG_BUFFER is off by default and therefore disables these messages:
- "Handle_Write() called for connection XX, YY bytes pending ..."
- "Connection XX: ZZ bytes left in read buffer."
|
|
|
|
|
|
|
|
* ServerMode:
Handle channel user modes 'a', 'h', and 'q' from remote servers
Handle unknown channel modes on server links
Handle unknown user modes on server links
IRC_MODE(), Client_Mode(): code cleanup [2/2]
Enlarge client user mode buffer, reduce client flags buffer
Infom clients when other servers change their user modes
IRC_MODE(), Client_Mode(): code cleanup [1/2]
|
|
* bug113-SrvPrefix:
Slightly change (and document!) IRC_KILL() calling convention
Spoofed prefixes: close connection on non-server links only
|
|
This fixes:
src/ngircd/ngircd.c:596: warning: implicit conversion
shortens 64-bit value into a 32-bit value
(i686-apple-darwin11-llvm-gcc-4.2)
|
|
Without this patch, the server becomes removed from the network and
the client structures, but the connection isn't shut down at all ...
|
|
These channel user modes aren't used for anything at the moment, but
ngIRCd knows that these three modes are "channel user modes" and not
"channel modes", that is that these modes take an "nick name" argument.
Like unknown user and channel modes, these modes are saved and forwarded,
but ignored otherwise.
|
|
|