diff --git a/modules/um_callerid.c b/modules/um_callerid.c index 1e8a7423..616ac87f 100644 --- a/modules/um_callerid.c +++ b/modules/um_callerid.c @@ -57,6 +57,8 @@ um_callerid_modinit(void) user_modes['G'] = find_umode_slot(); if (!user_modes['G']) { + user_modes['g'] = 0; + ierror("um_callerid: unable to allocate usermode slot for +G; unloading module."); return -1; }