SIGHUP now triggers a rehash.
This commit is contained in:
1 parent
6dbc11a404
commit
688004e5d8
2 files changed
+4
-2
No files matched your search
@@ -3,6 +3,7 @@ Auto IRC Bot 3.0: Change Log
|
|||||||
|
|
||||||
3.0 Indev
|
3.0 Indev
|
||||||
===============================================================================
|
===============================================================================
|
||||||
|
* SIGHUP now triggers a rehash.
|
||||||
* Added core command REHASH.
|
* Added core command REHASH.
|
||||||
* Moved signal handlers to Lib::Auto.
|
* Moved signal handlers to Lib::Auto.
|
||||||
* Renamed src/ to lib/.
|
* Renamed src/ to lib/.
|
||||||
|
|||||||
+3
-2
@@ -240,9 +240,10 @@ sub signal_int
|
|||||||
# SIGHUP
|
# SIGHUP
|
||||||
sub signal_hup
|
sub signal_hup
|
||||||
{
|
{
|
||||||
|
dbug '!!! Caught SIGHUP; rehashing';
|
||||||
|
alog '!!! Caught SIGHUP; rehashing';
|
||||||
|
rehash();
|
||||||
API::Std::event_run('on_sighup');
|
API::Std::event_run('on_sighup');
|
||||||
dbug '!!! Caught SIGHUP but rehash is unavailable; ignoring';
|
|
||||||
alog '!!! Caught SIGHUP but rehash is unavailable; ignoring';
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user