Skip to content

Commit 9802676

Browse files
committed
GanneffServ: Escape regexp field
1 parent c213932 commit 9802676

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/GanneffServ.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ def BADSERV(client, parv = [])
326326
debug(LOG_DEBUG, "#{client.name} called BADSERV and the parms are #{parv.join(",")}")
327327
server = parv[1].downcase
328328

329-
if server =~ /.*\.oftc.net$/
329+
if server =~ /.*\.oftc\.net$/
330330
debug(LOG_DEBUG, "#{server} seems to be an oftc server, proceeding")
331331
@badserver = server
332332
reply(client, "#{server} is now marked as a bad server, all new connections will be killed")

0 commit comments

Comments
 (0)