Tillmann Karras
c0ee55325c
Release all memory in tests and fix comment
2014-10-06 21:06:33 +02:00
Tillmann Karras
3d0b652ec9
Remove some unused variables
2014-10-06 21:02:08 +02:00
Tillmann Karras
c295461f4e
mod_topic: check argument for NULL
...
Better safe than sorry.
2013-09-10 08:30:27 +02:00
Tillmann Karras
8b442018a7
Fix struct mixup
2013-09-06 21:17:43 +02:00
Tillmann Karras
fa782e3d2c
Fix memleak
2013-09-06 21:17:31 +02:00
Tilka
591d0ba5bb
Support certificate chains
2013-09-06 01:44:25 +02:00
Tilka
a81757c483
Merge remote-tracking branch 'upstream/master'
2013-09-06 01:43:10 +02:00
Tillmann Karras
37c80fd403
rename !cleartopic to !resettopic
...
The command resets the topic to the default as configured in uhub.conf.
"clear" wrongly implies that the topic will be emptied.
Also added a plugin description in plugins.conf.
2012-11-08 15:14:58 +01:00
Tillmann Karras
dcc7aa4018
some regex adjustments
...
IP addresses are now checked for correct charset rather than allowing
everything.
2012-11-08 12:36:37 +01:00
Tilka
9dce6693f6
fix error messages and comments
2012-11-08 12:27:08 +01:00
Tillmann Karras
16ee65422d
Fix cbuffer initialization
...
If no data was appended, cbuf_get() would return a pointer to
uninitialized memory. Now it returns a pointer to a string of zero
length.
2012-10-03 22:40:33 +02:00
Tilka
274f17bce0
use "I64u" instead of PRIu64 on Windows
2012-05-11 16:45:07 +02:00
Tilka
53b3087735
remove obsolete settings in uhub.conf
...
motd and rules are now handled by the mod_welcome plugin.
2012-05-11 03:10:05 +02:00
Tilka
8365278cbf
fix uhub_itoa() and uhub_ulltoa()
2012-05-10 23:24:42 +02:00
Tilka
eb49174ab3
marked plugin callbacks that are not called yet
2012-05-10 01:37:20 +02:00
Tilka
9e52ea7eff
add on_change_nick() to struct plugin_funcs
...
It's not called anywhere yet.
Also reorder some typedefs, rename the ip check functions and add
struct {hub,plugin}_user parameter to on_check_ip_late(). Not sure where
to insert a call to that...
2012-05-09 23:33:03 +02:00
Tilka
05fd6bb723
minimal changes
2012-05-09 23:27:06 +02:00
Tilka
ccb66ced4f
don't show error on SIGTERM in select() backend
2012-05-05 01:10:24 +02:00
Tilka
dce8b97bba
fix dependency of 'install' target
2012-05-03 10:13:21 +02:00
Tilka
d49127b507
changed all calls to assert() to uhub_assert()
2012-05-02 21:06:46 +02:00
Tilka
e4cf01ff1f
OMG OPTIMIZED
2012-04-21 16:56:22 +02:00
Tilka
82615fc86e
use dh_prep instead of dh_clean -k
2012-04-21 16:53:56 +02:00
Tilka
b72f5a407a
fix double free
2012-04-21 16:51:41 +02:00
Tilka
776f7d0bff
use "0" instead of "false"
...
otherwise compilation breaks when using a C90 compiler
2012-04-21 13:35:06 +02:00
Tilka
27ceb7ad33
fix use of uninitialized struct ip_range
2012-04-21 09:46:50 +02:00
Tilka
c5036a3ff8
fix random crashes upon !reload
...
A struct plugin_hub_internals was falsely casted to struct
plugin_callback_data. This caused the contained commands list pointer to point to
a struct hub_info and commands->size took the value of a pointer to a struct
net_connection. Since size is increased/decreased every time an item is
added to/removed from the list, this resulted in some funny crashes.
This fix is a little dirty as it exports some internals.
2012-04-21 09:22:06 +02:00
Tilka
832277f653
fix command syntax
2012-04-21 06:08:36 +02:00
Tilka
c525e59fa5
use arg parser in !broadcast
2012-04-21 01:56:26 +02:00
Tilka
4f0c8e0356
fix multiple optional arguments
...
Assuming the argument definition "?xy", it was previously not possible
to specify only x. Also, the syntax will now be shown as "[x [y]]"
instead of "[x] [y]".
2012-04-19 03:06:52 +02:00
Tilka
e925db2b98
small cleanup
2012-04-19 02:56:27 +02:00
Tilka
0cbb382b14
also clean uhub-passwd
2012-04-19 02:54:56 +02:00
Tilka
303dbadac2
ignore files generated by dpkg-buildpackage
2012-04-19 02:54:21 +02:00
Tilka
e408ae3eba
automatically clean up plugin commands
2012-04-19 02:53:43 +02:00
Tilka
5b6ab7e1d2
minimal documentation fixes
2012-04-19 02:44:27 +02:00
Tilka
2298f09c0f
update client software link
...
(adcportal.com has been terminated)
2012-04-19 02:43:59 +02:00
Tilka
ad5e5d2837
update compile howto link
2012-04-19 02:43:39 +02:00
Tilka
106574008f
fix debian changelog
2012-04-19 02:43:05 +02:00